/*----------------------------------------------------------------
* Title: UIFrameWork.UGUIPro
*
* Description: TextPro ImagePro ButtonPro TextMesh Pro
* 
* Support Function: 高性能描边、本地多语言文本、图片、按钮双击模式、长按模式、文本顶点颜色渐变、双色渐变、三色渐变
* 
* Usage: 右键-TextPro-ImagePro-ButtonPro-TextMeshPro
* 
* Author: Steve
*
* Date: 2024.10.12
*
* Modify: 
--------------------------------------------------------------------*/
using UnityEditor;
using UnityEngine;

 namespace UIFrameWork.UGUIPro {	
	[System.Serializable]
	public enum LocalizationImageType
	{
	    Static,
	    DynamicLoad,
	}
	[System.Serializable]
	public enum LocalImageLoadType
	{ 
	    Resources,
	    AssetBundle,
	}
	 
	[System.Serializable]
	public class LocalizationImageExtend
	{
	    [SerializeField]
	    private bool m_IsUseLocalization;
	    public bool IsUseLocalization { get { return m_IsUseLocalization; } set { m_IsUseLocalization = value; } }
	    [SerializeField]
	    private LocalizationImageType m_LocalizationImageType = LocalizationImageType.Static;
	    [SerializeField]
	    private LocalImageLoadType m_LocalImageLoadType = LocalImageLoadType.AssetBundle;
	    [SerializeField]
	    private Sprite[] m_LocalSprites = null;
	    [SerializeField]
	    private Vector2[] m_SpriteSizev2 = null;
	    [SerializeField]
	    private string[] m_LocalSpritePaths = null;
	    [SerializeField]
	    private Vector2[] m_LoadSpriteSizev2 = null;
		[SerializeField]
		private string m_ImageName = null;
	
	
	
	    private ImagePro m_ImagePro;
	
	    public void Initializa(ImageProBase imagePro)
	    {
	        m_ImagePro = (ImagePro)imagePro;
        }
	}
	
}
